package com.woniuxy.consumer.configuration;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author author
 * @create 2021-11-22 18:50
 */
public class DataUtil {

    public static String data(){
        Date currentTime = new Date();

        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

        String dateString = formatter.format(currentTime);
        return dateString;
    }
}
